home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / utilities / bmfc000.lha / BMFC / src / bmfc / build.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-31  |  875 b   |  32 lines

  1. /**************************************/
  2. /* build.h                            */
  3. /* for BMFC 0.00                      */
  4. /* Copyright 1992 by Adam M. Costello */
  5. /**************************************/
  6.  
  7.  
  8. #include <stdio.h>
  9.  
  10.  
  11. typedef char boolean;
  12.  
  13. enum paramindex {
  14.   antialias, baseline, bold, boldsmear, colorfont, depth, extended, fgcolor,
  15.   greyfont, high, italic, low, planeonoff, planepick, proportional, returncode,
  16.   revision, revpath, talldot, underlined, widedot, xsize, numparams
  17. };
  18.  
  19. struct font {
  20.   unsigned char  name[32], *glyphs[257];
  21.   unsigned long  parameters[numparams];
  22.   unsigned short widths[257], ysize, numcolors, colorvals[256];
  23.   short          xdpi, ydpi;
  24.   boolean        usedcolors, usedxydpi;
  25. };
  26.  
  27.  
  28. void build(FILE *srcfile, struct font *f);
  29.  
  30. /* Fills in the struct font pointed to by f by */
  31. /* interpreting the source code in srcfile.    */
  32.